package com.zj.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("com.zj")
@PropertySource("jdbc.properties") //加载外部 资源文件
@Import({JdbcConfig.class, MybatisConfig.class})
@EnableAspectJAutoProxy //aop 1 aop注解打开
@EnableTransactionManagement//开启事务注解驱动 2
public class SpringConfig {
}
